package com.bw.day03.adapter

import com.bw.base.net.entity.Roll
import com.bw.day03.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class NewsAdapter:BaseQuickAdapter<Roll,BaseViewHolder>(R.layout.item_news) {
    //新闻头条
    override fun convert(holder: BaseViewHolder, item: Roll) {
        holder.setText(R.id.news_tv,item.info)
    }

}